#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>

int is_prime(int x);


int main()
{
	int n = 100;
	for (n = 100; n <= 200; n++) {
		if (is_prime(n)) {
			printf("%d ", n);
		}
		
	}

    return 0;
}

int is_prime(int x) {
	int a = 2;
	for (; a <= sqrt(x); a += 2) {
		if (x % a == 0) {
			return 0;
		}
		else {
			return 1;
		}
	}
}